package com.lanqiao.testwork;

public class Test17 {

	public static void main(String[] args) {
		test();
	}

	/**
	 * 猴子摘桃
	 */
	private static void test() {
		int num = 1;
		for (int i = 1; i <= 9; i++) {
			num = (num + 1) * 2 ;
		}
		System.out.println(num);
	}

}
